/* H5编辑页面用到的常量
 * H5constants.js
 */

//小米官网  font-family: "Arial","Microsoft YaHei","黑体","宋体",sans-serif;
//淘宝技术研发中心：Tahoma,Helvetica,Arial,'宋体',sans-serif;
//一加  Microsoft YaHei',arial,tahoma,\5b8b\4f53,sans-serif;
//淘宝UED：Tahoma,Helvetica,Arial,"\5b8b\4f53",sans-serif;
//一淘UX:font-family: Helvetica, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', Arial, sans-serif;

export const FONTS=[
	{value:'SimSun',name:'默认字体'},//宋体
	{value:'SimHei',name:'黑体'},
	{value:'Microsoft YaHei',name:'微软雅黑'},
	{value:'Microsoft JhengHei',name:'微软正黑体'}, 
	{value:'NSimSun',name:'新宋体'},
	{value:'PMingLiU',name:'新细明体'},
	{value:'MingLiU',name:'细明体'},
	{value:'DFKai-SB',name:'标楷体'}, 
 	{value:'FangSong',name:'仿宋'},
	{value:'KaiTi',name:'楷体'}
];

//动画效果
export const ANIMATIONS=[
	{value:'bounce','name':'弹跳'},
	{value:'flash','name':'闪烁'},
	{value:'pulse','name':'脉冲'},
	{value:'rubberBand',name:'橡皮圈'},
	{value:'shake','name':'震动'},
	{value:'swing','name':'摆动'},
	{value:'tada','name':'闪动'},
	{value:'wobble','name':'摇晃'},
	{value:'jello','name':'晃动'},
	{value:'bounceIn','name':'弹动出现'},
	{value:'bounceInDown','name':'向下弹入'},
	{value:'bounceInLeft','name':'向左弹入'},
	{value:'bounceInRight','name':'向右弹入'},
	{value:'bounceInUp','name':'向上弹入'},
	{value:'bounceOut','name':'弹动离开'},
	{value:'bounceOutDown','name':'向下弹出'},
	{value:'bounceOutLeft','name':'向左弹出'},
	{value:'bounceOutRight','name':'向右弹出'},
	{value:'bounceOutUp','name':'向上弹出'},
	{value:'fadeIn','name':'渐现'},
	{value:'fadeInDown','name':'从上渐现'},
	{value:'fadeInLeft','name':'从右渐现'},
	{value:'fadeInRight','name':'从左渐现'},
	{value:'fadeInUp','name':'从下渐现'},
	{value:'fadeOut','name':'渐隐'},
	{value:'fadeOutDown','name':'向下渐隐'},
	{value:'fadeOutLeft','name':'向左渐隐'},
	{value:'fadeOutRight','name':'向右渐隐'},
	{value:'fadeOutUp','name':'向上渐隐'}
];

export const SUBMIT_BTN_IMG_SRC='http://static.g.jiaxunyouneng.com/images/submitBtn.jpg';


export const BLANK_H5_DATA={
	id:null,
	uniqueCode:'',
	title:'',
	data:{
		attributes:{ //设置整个h5页面
	    	"swiperDirection": "vertical",  //翻页方向
        	"swiperEffect": "slide",  //翻页效果
        	"swiperDuration": 0.5,  //翻页时长
        	"loop": false,         //是否循环
        	"loadingPageName":'',
        	"loadingPageUrl":'',
        	"bgMusicName":'',
        	"bgMusicUrl":'',
        	"helperScript": ""    //帮助的js代码
		},
		pages:Immutable.Map()
	}
}